﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Perceiveit.Xml
{
    /// <summary>
    /// Defines the type of node an XProperty is referencing
    /// </summary>
    public enum PropertyType
    {
        /// <summary>
        /// The property refers to an attribute
        /// </summary>
        Attribute,

        /// <summary>
        /// The property refers to the inner textual content of an element
        /// </summary>
        Text,

        /// <summary>
        /// The property refers to an element that can contain other elements and attributes
        /// </summary>
        Complex
    }

    /// <summary>
    /// Defines the options for a choice factory to check the inner XFactorys
    /// </summary>
    public enum ChoiceOrder
    {
        FirstInFirstCheck,
        FirstInLastCheck
    }
}
